import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import settings from "./settings";
import element_ui from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import axios from 'axios';

Vue.config.productionTip = false;
Vue.prototype.$settings = settings;
Vue.prototype.$axios = axios;

Vue.use(element_ui);

//引入全局样式
import './assets/css/global.css';

axios.defaults.withCredentials = false;  // 禁止 ajax 携带 cookie

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app');
